#define  _CRT_SECURE_NO_WARNINGS 1
#include "ListNode.h"


void test()
{
	LTNode* phead = LTInit();
	LTPushBack(phead, 1);
	LTPushBack(phead, 2);
	LTPushBack(phead, 3);//1 2 3
	LTPrint(phead);
	LTPushFront(phead, 0);// 0 1 2 3
	LTPrint(phead);
	LTPopBack(phead);//0 1 2
	LTPrint(phead);
	LTPopFront(phead);//1 2
	LTPrint(phead);

	LTDestroy(phead);
	phead = NULL;
}


int main()
{
	test();
	return 0;
}